package com.hospital.mapper;

import com.hospital.pojo.Ypb;
import com.hospital.pojo.YpbExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface YpbMapper {
    long countByExample(YpbExample example);

    int deleteByExample(YpbExample example);

    int deleteByPrimaryKey(Integer ypid);

    int insert(Ypb record);

    int insertSelective(Ypb record);

    List<Ypb> selectByExample(YpbExample example);

    Ypb selectByPrimaryKey(Integer ypid);

    int updateByExampleSelective(@Param("record") Ypb record, @Param("example") YpbExample example);

    int updateByExample(@Param("record") Ypb record, @Param("example") YpbExample example);

    int updateByPrimaryKeySelective(Ypb record);

    int updateByPrimaryKey(Ypb record);
}